/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package entity;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;

/**
 *
 * @author Lorenzo
 */
@Entity
public class AddettoNegozio extends Persona {
    //TODO

    @ManyToOne
    private Negozio negozio;

    /**
     * Get the value of negozio
     *
     * @return the value of negozio
     */
    public Negozio getNegozio() {
        return negozio;
    }

    /**
     * Set the value of negozio
     *
     * @param negozio new value of negozio
     */
    public void setNegozio(Negozio negozio) {
        this.negozio = negozio;
    }
}
